#ifndef CONFIGURATION_H
#define CONFIGURATION_H

#include <map>
#include <string>

/*! \class Configuration
  * \brief 软件设置和新浪api
  *
  *
  */
class Configuration
{
public:
    static Configuration* getInstance();

    enum DataType
    {
        XML=0,JSON
    };
    static DataType getDataType();

private:
    Configuration();
    Configuration(DataType dt);

    DataType dt;
    static Configuration* instance;
    std::map<std::string, std::string> services;
};
#endif // CONFIGURATION_H
